import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)
const routes=[
   {
    path:'/',
    name:'c',
    component:()=>import('@/views/example/ContainerView2.vue'),
    children:[
        {
            path:'c/p1',
            component:()=>import('@/views/example/container/P1View.vue')
        }
    ]
   },
   {
    path:'/login/',
    component:()=>import('@/views/example/LoginView.vue'),
   }
]
const router=new VueRouter({
    routes
})
export default router